package com.ccp.dev.system.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.system.model.SysUserColumnRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 首页用户栏目内容 信息数据库操作类
 *
 * @author huangyan
 * @date 2019-07-25 08:59:55
 */
@Mapper
public interface SysUserColumnResDao extends IBaseMapper<SysUserColumnRes,String> {


    List<Map<String, Object>> getUserRes(@Param("userId") String userId, @Param("columnAlias") String columnAlias);


    List<Map<String, Object>> getNonUserRes(@Param("systemId")String systemId, @Param("roleId")String roleId,
                                            @Param("userId")String userId, @Param("columnAlias")String columnAlias);

    void delList(List<SysUserColumnRes> delList);
}
